<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<!-- 3秒后自动跳转到login.html -->
		<meta http-equiv="refresh" content="3;url=login.html">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/global.css"/>
		<link rel="stylesheet" type="text/css" href="css/header.css"/>
		<link rel="stylesheet" type="text/css" href="css/footer.css"/>
		<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.css"/>
	</head>
	<body>
		<div id="header"></div>
		
		<div class="main">
			<div class="container">
				<!-- content here -->
				<p>
					注册成功!
					<span id="second">3</span>
					秒后跳转到登录页...
				</p>
			</div>
		</div>
		
		<div id="footer"></div>
		
		<script type="text/javascript" src="js/jquery.js"></script>
		<script>
			$('#header').load('component/header.html')
			$('#footer').load('component/footer.html')
		</script>
		<!-- <script>
			var seconds = 3;
			function dumiao() {
				$('#second').text(seconds);
				seconds -= 1;
				if(seconds == 0) {
					window.location.href = 'login.html';
					return;
				}
				setTimeout(dumiao, 1000); // 1秒后, 执行dumiao函数
			}
			dumiao();
		</script> -->
	</body>
</html>
